package com.system.goodsserver.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author Xuheng Zhou
 * @date 2020/7/7 21:08
 * @desc
 */
@ApiModel(value = "根据商品id查询规格")
public class ResultSpecificationByGoodsId {
    @ApiModelProperty(name = "specificationsId",notes = "规格id")
    private Integer specificationsId;
    @ApiModelProperty(name = "specificationsName",notes = "规格名称")
    private String specificationsName;
    @ApiModelProperty(name = "stockNumber",notes = "库存数量")
    private Integer stockNumber;
    @ApiModelProperty(name = "salesPrice",notes = "商品售价")
    private Double salesPrice;
    @ApiModelProperty(name = "price",notes = "特价价格")
    private Double price;
    @ApiModelProperty(name = "priceEndtime",notes = "规格特价过期时间")
    private Date priceEndtime;
    @ApiModelProperty(name = "isprice",notes = "是否特价")
    private Integer isprice;

    public Integer getSpecificationsId() {
        return specificationsId;
    }

    public void setSpecificationsId(Integer specificationsId) {
        this.specificationsId = specificationsId;
    }

    public String getSpecificationsName() {
        return specificationsName;
    }

    public void setSpecificationsName(String specificationsName) {
        this.specificationsName = specificationsName;
    }

    public Integer getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(Integer stockNumber) {
        this.stockNumber = stockNumber;
    }

    public Double getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(Double salesPrice) {
        this.salesPrice = salesPrice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getPriceEndtime() {
        return priceEndtime;
    }

    public void setPriceEndtime(Date priceEndtime) {
        this.priceEndtime = priceEndtime;
    }

    public Integer getIsprice() {
        return isprice;
    }

    public void setIsprice(Integer isprice) {
        this.isprice = isprice;
    }
}
